.bbcode-editor {
    width: 100%;
}

.bbcode-toolbar {
    margin: 0 0 5px 0;
    list-style-type: none;
    padding: 0;
}

.bbcode-toolbar li {   
    display: inline;
    padding-left: 18px;    
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.5;
}

.bbcode-toolbar li:hover {
    opacity: 1;
}

.bbcode-textarea {
    width: 100%;
    height: 150px;
    padding: 5px;
    border: 1px solid #999;
    resize: vertical;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ie-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.bbcode-preview {
    color: #777;    
    font-family: "Courier New";
    background: #F8F8F8; 
    margin: 0 auto;
    padding: 10px;
}

.bbcode-preview img {
    max-width: 100%;
}